
    <form class="checkoutform" action="{:U('insert')}" method="post">
    
    
    
    
    
    
    
    
    
    

    
    
    
    

   
   
   
    
    
    
    <script>
	function changeAffConfig(e){
		var val = $(e).val().split('_');
		$('#AffiliateConfigclassname').val(val[0]);
		$('#AffiliateConfigtitle').val(val[1]);
	}
	</script>
    
    
    <div class="form-group" style="display:none;">
      <label class="col-sm-2 control-label">规则名称</label>
      <div class="col-sm-10">
         <input class="form-control" datatype="*"  value="{$info.title}" id="AffiliateConfigtitle" name="title" type="text" placeholder="规则名称">
         <input class="form-control" datatype="*"  value="{$info.classname}" id="AffiliateConfigclassname" name="classname" type="text" placeholder="规则名称">
      </div>
   </div>
    
    
    <div class="form-group">
      <label class="control-label">工具库名称（类名）</label>
      <div>
      
      
      <select name="" class="form-control" onChange="changeAffConfig(this);">
      <option value="">请选择</option>
      <volist name="PaymentConfig" id="vo">
          <option value="{$vo.value}_{$vo.title}">{$vo.title}</option>
          </volist>
      </select>
      
      
         
      </div>
   </div>
   
      
    </form>
